package com.jajahome.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by tuxuesong on 2018/6/5.
 */

public class BroadCastModel implements Serializable {


    /**
     * data : {"crowd_funding":[{"id":"5","image":{"small":"http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695_2.jpg","thumb":"http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695_1.jpg","url":"http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695.jpg"}},{"id":"4","image":{"small":"http://www.jajahome.com/gjj/backend/web/images/9c3/e0d/73a/912/cbf29bc58038fe2f8659.png","thumb":"http://www.jajahome.com/gjj/backend/web/images/9c3/e0d/73a/912/cbf29bc58038fe2f8659.png","url":"http://www.jajahome.com/gjj/backend/web/images/9c3/e0d/73a/912/cbf29bc58038fe2f8659.png"}},{"id":"2","image":{"small":"http://www.jajahome.com/gjj/backend/web/images/88f/f1c/3a0/ef0/80d65a1619223f8454e6_2.jpg","thumb":"http://www.jajahome.com/gjj/backend/web/images/88f/f1c/3a0/ef0/80d65a1619223f8454e6_1.jpg","url":"http://www.jajahome.com/gjj/backend/web/images/88f/f1c/3a0/ef0/80d65a1619223f8454e6.jpg"}},{"id":"1","image":{"small":"http://www.jajahome.com/gjj/backend/web/images/856/0a7/e8c/914/cdb17d3ca29009d26869_2.jpg","thumb":"http://www.jajahome.com/gjj/backend/web/images/856/0a7/e8c/914/cdb17d3ca29009d26869_1.jpg","url":"http://www.jajahome.com/gjj/backend/web/images/856/0a7/e8c/914/cdb17d3ca29009d26869.jpg"}}]}
     * cmd : crowd_funding_list_broadcast
     * status : 0
     */

    private DataEntity data;
    private String cmd;
    private int status;

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataEntity getData() {
        return data;
    }

    public String getCmd() {
        return cmd;
    }

    public int getStatus() {
        return status;
    }

    public static class DataEntity {
        /**
         * crowd_funding : [{"id":"5","image":{"small":"http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695_2.jpg","thumb":"http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695_1.jpg","url":"http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695.jpg"}},{"id":"4","image":{"small":"http://www.jajahome.com/gjj/backend/web/images/9c3/e0d/73a/912/cbf29bc58038fe2f8659.png","thumb":"http://www.jajahome.com/gjj/backend/web/images/9c3/e0d/73a/912/cbf29bc58038fe2f8659.png","url":"http://www.jajahome.com/gjj/backend/web/images/9c3/e0d/73a/912/cbf29bc58038fe2f8659.png"}},{"id":"2","image":{"small":"http://www.jajahome.com/gjj/backend/web/images/88f/f1c/3a0/ef0/80d65a1619223f8454e6_2.jpg","thumb":"http://www.jajahome.com/gjj/backend/web/images/88f/f1c/3a0/ef0/80d65a1619223f8454e6_1.jpg","url":"http://www.jajahome.com/gjj/backend/web/images/88f/f1c/3a0/ef0/80d65a1619223f8454e6.jpg"}},{"id":"1","image":{"small":"http://www.jajahome.com/gjj/backend/web/images/856/0a7/e8c/914/cdb17d3ca29009d26869_2.jpg","thumb":"http://www.jajahome.com/gjj/backend/web/images/856/0a7/e8c/914/cdb17d3ca29009d26869_1.jpg","url":"http://www.jajahome.com/gjj/backend/web/images/856/0a7/e8c/914/cdb17d3ca29009d26869.jpg"}}]
         */

        private List<CrowdFundingEntity> crowd_funding;

        public void setCrowd_funding(List<CrowdFundingEntity> crowd_funding) {
            this.crowd_funding = crowd_funding;
        }

        public List<CrowdFundingEntity> getCrowd_funding() {
            return crowd_funding;
        }

        public static class CrowdFundingEntity implements Serializable {
            /**
             * id : 5
             * image : {"small":"http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695_2.jpg","thumb":"http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695_1.jpg","url":"http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695.jpg"}
             */

            private String id;
            private ImageEntity image;

            public void setId(String id) {
                this.id = id;
            }

            public void setImage(ImageEntity image) {
                this.image = image;
            }

            public String getId() {
                return id;
            }

            public ImageEntity getImage() {
                return image;
            }

            public static class ImageEntity {
                /**
                 * small : http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695_2.jpg
                 * thumb : http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695_1.jpg
                 * url : http://www.jajahome.com/gjj/backend/web/images/064/961/71c/0e2/75cfea65ae2febe76695.jpg
                 */

                private String small;
                private String thumb;
                private String url;

                public void setSmall(String small) {
                    this.small = small;
                }

                public void setThumb(String thumb) {
                    this.thumb = thumb;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public String getSmall() {
                    return small;
                }

                public String getThumb() {
                    return thumb;
                }

                public String getUrl() {
                    return url;
                }
            }
        }
    }
}
